class TLine {

  TPoint point1;
  TPoint point2;

  TLine(int x1, int y1, int x2, int y2) {
    point1 = new TPoint(x1, y1);
    point2 = new TPoint(x2, y2);
  }

  TPoint getp1() {
    return point1;
  }

  TPoint getp2() {
    return point2;
  }
}


